package com.itheima.dao;

import com.github.pagehelper.Page;
import com.itheima.pojo.Member;
<<<<<<< HEAD
import org.apache.ibatis.annotations.Param;
=======
>>>>>>> cebc61dc7c2086549f6b7e3e5922bd595f26ae10

import java.util.List;

public interface MemberDao {
    public List<Member> findAll();
    public Page<Member> selectByCondition(String queryString);
    public void add(Member member);
    public void deleteById(Integer id);
    public Member findById(Integer id);
    public Member findByTelephone(String telephone);
    public void edit(Member member);
    public Integer findMemberCountBeforeDate(String date);
    public Integer findMemberCountByDate(String date);
    public Integer findMemberCountAfterDate(String date);
    public Integer findMemberTotalCount();
<<<<<<< HEAD
    public Integer findMemberCountByAgeLimit(@Param("low")int low,@Param("high") int high);
    public Integer findMaleCount();
    public Integer findFemaleCount();
=======
>>>>>>> cebc61dc7c2086549f6b7e3e5922bd595f26ae10
}
